<?php
/**
 * Created by PhpStorm.
 * User: Akuma
 * Date: 2016/11/28
 * Time: 15:48
 */
function test1(&$arr) {
    $arr['rand'] = mt_rand(1,2);
}